package com.model.dto.sys.sysOperLog;

import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.*;

@Data
public class UpdateSysOperLogStatusDTO{
    @ApiModelProperty(value = "ID,自动递增",required = true)
    @NotNull(message = "sysOperLogId不能为空")
    private Long sysOperLogId;

    @ApiModelProperty(value = "状态（0:有效,1:停用,2:删除）",allowableValues = "0,1,2")
    @Min(value = 0, message = "0:启用，1:停用，2:删除")
    @Max(value = 2, message = "0:启用，1:停用，2:删除")
    Byte isDelete;
}
